package com.fortune.vo.clientOrder;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;

public class OrderDetail {
	@ApiModelProperty(example="客户id")
	private String cid;
	@ApiModelProperty(example = "客户手机号")
	private String principalPhone;
	@ApiModelProperty(example="订单id")
	private String id;
	@ApiModelProperty(example="订单编号")
	private String no;
	@ApiModelProperty(example="客户名称")
	private String name;
	@ApiModelProperty(example="商品总数")
	private int count;
	@ApiModelProperty(example="商品总金额")
	private BigDecimal pTotalPrice;
	@ApiModelProperty(example="押金总金额")
	private BigDecimal dTotalPrice;
	@ApiModelProperty(example="回空箱总数量")
	private int totalBackBoxNum;
	@ApiModelProperty(example="回空箱减免押金总金额")
	private BigDecimal dTotalPriceReduce;
	@ApiModelProperty(example="合计总金额")
	private BigDecimal totalPrice;
	@ApiModelProperty(example="开单时间")
	private String createTime;
	@ApiModelProperty(example="付款时间")
	private String payTime;
	@ApiModelProperty(example="付款方式")
	private String payType;
	private DriverInfo driver;
	private List<Product> products;
	public String getCid() {
		return cid;
	}
	public void setCid(String cid) {
		this.cid = cid;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public BigDecimal getpTotalPrice() {
		return pTotalPrice;
	}
	public void setpTotalPrice(BigDecimal pTotalPrice) {
		this.pTotalPrice = pTotalPrice;
	}
	public BigDecimal getdTotalPrice() {
		return dTotalPrice;
	}
	public void setdTotalPrice(BigDecimal dTotalPrice) {
		this.dTotalPrice = dTotalPrice;
	}
	public int getTotalBackBoxNum() {
		return totalBackBoxNum;
	}
	public void setTotalBackBoxNum(int totalBackBoxNum) {
		this.totalBackBoxNum = totalBackBoxNum;
	}
	public BigDecimal getdTotalPriceReduce() {
		return dTotalPriceReduce;
	}
	public void setdTotalPriceReduce(BigDecimal dTotalPriceReduce) {
		this.dTotalPriceReduce = dTotalPriceReduce;
	}
	public BigDecimal getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getPayTime() {
		return payTime;
	}

	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}

	public String getPayType() {
		return payType;
	}
	public void setPayType(String payType) {
		this.payType = payType;
	}
	public DriverInfo getDriver() {
		return driver;
	}
	public void setDriver(DriverInfo driver) {
		this.driver = driver;
	}
	public List<Product> getProducts() {
		return products;
	}
	public void setProducts(List<Product> products) {
		this.products = products;
	}
	public String getPrincipalPhone() {
		return principalPhone;
	}
	public void setPrincipalPhone(String principalPhone) {
		this.principalPhone = principalPhone;
	}

	@Override
	public String toString() {
		return "OrderDetail{" +
				"cid='" + cid + '\'' +
				", principalPhone='" + principalPhone + '\'' +
				", id='" + id + '\'' +
				", no='" + no + '\'' +
				", name='" + name + '\'' +
				", count=" + count +
				", pTotalPrice=" + pTotalPrice +
				", dTotalPrice=" + dTotalPrice +
				", totalBackBoxNum=" + totalBackBoxNum +
				", dTotalPriceReduce=" + dTotalPriceReduce +
				", totalPrice=" + totalPrice +
				", createTime='" + createTime + '\'' +
				", payTime='" + payTime + '\'' +
				", payType='" + payType + '\'' +
				", driver=" + driver +
				", products=" + products +
				'}';
	}
}
